<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
		<div class="form-group">
				<label for="c-pid" class="control-label col-xs-12 col-sm-2">父权限:</label>
				<div class="col-xs-12 col-sm-8">
						<select id="c-pid" data-rule="0" name="row[pid]" dataurl="ajax/memberrule/tree" class="form-control selectpickernew">
						</select>
				</div>
		</div>
		<div class="form-group">
				<label for="c-name" class="control-label col-xs-12 col-sm-2">权限名称:</label>
				<div class="col-xs-12 col-sm-8">
					<input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text"
						value="{$row.name|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-title" class="control-label col-xs-12 col-sm-2">权限路径:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-title" data-rule="0" class="form-control" name="row[title]" type="text" value="{$row.title|htmlspecialchars}" />
				</div>
		</div>
		
		<!-- 
		<div class="form-group">
				<label for="c-remark" class="control-label col-xs-12 col-sm-2">备注:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-remark" data-rule="0" class="form-control" name="row[remark]" type="text" value="{$row.remark|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-ismenu" class="control-label col-xs-12 col-sm-2">是否菜单:</label>
				<div class="col-xs-12 col-sm-8">
						<div class="radio" >
								<label for="ismenu"><input name="row[ismenu]" type="radio" value="1" {if $row.ismenu eq '1'}checked="checked"{/if} /> 是</label>
								<label for="ismenu"><input name="row[ismenu]" type="radio" value="0" {if $row.ismenu eq '0'}checked="checked"{/if} /> 否</label>
						</div>
				</div>
		</div>
		-->
		<div class="form-group">
				<label for="c-weigh" class="control-label col-xs-12 col-sm-2">顺序:</label>
				<div class="col-xs-12 col-sm-8">
						<input id="c-weigh" data-rule="0" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlspecialchars}" />
				</div>
		</div>
		<div class="form-group">
				<label for="c-status" class="control-label col-xs-12 col-sm-2">状态:</label>
				<div class="col-xs-12 col-sm-8">
						<div class="radio" >
								<label for="status"><input name="row[status]" type="radio" value="1" {if $row.status eq '1'}checked="checked"{/if} /> 正常</label>
								<label for="status"><input name="row[status]" type="radio" value="2" {if $row.status eq '2'}checked="checked"{/if} /> 关闭</label>
						</div>
				</div>
		</div>
						<div class="form-group">
								<label class="control-label col-xs-12 col-sm-2"></label>
								<div class="col-xs-12 col-sm-8">
										<button type="submit" class="btn btn-success btn-embossed">确定</button>
										<button type="reset" class="btn btn-default btn-embossed">重置</button>
						</div>
				</div>
</form>
